package com.net.xpay.common.enums.user;

import com.net.common.enums.base.StringEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author  on 2017/6/7.
 * CheckCode的类型
 */
@Getter
@AllArgsConstructor
public enum CheckCodeType implements StringEnum<CheckCodeType> {
    GOOGLE_AUTH("google_auth", "查询谷歌验证器"),
    REGISTER("register", "注册"),
    LOGIN("login", "登录"),

    RESET_PASSWORD("reset_password", "重置密码"),
    MODIFY_PASSWORD("modify_password", "修改密码"),
    MODIFY_MOBILE("modify_mobile", "修改手机号"),
    MODIFY_PAY_PASSWORD("modify_pay_password", "修改支付密码"),
    ENSURE_SAFE_PAY_BATCH("ensure_safe_pay_batch", "确认发起支付的验证码"),
    MODIFY_WHITE_IP("modify_white_ip", "修改IP白名单"),
    MODIFY_NOTIFY_URL("modify_notify_url", "修改推送地址"),
    MODIFY_SAFE_PAY_NOTIFY_URL("modify_safe_pay_notify_url", "修改安全付推送地址"),
    DEVELOP_SETTINGS("develop_settings", "开发设置验证码"),
    WITHDRAW("withdraw", "提现"),
    BUSINESS_AUTH("business_auth", "企业实名认证"),


    /**
     * 管理员
     */
    ADMIN_LOGIN("admin_login", "管理员登录"),

    /**
     * 操盘手
     */
    OPERATOR_USER_LOGIN("operator_user_login", "操盘手登录"),
    OPERATOR_USER_REGISTER("operator_user_register", "操盘手注册"),
    OPERATOR_USER_MODIFY_MOBILE("operator_user_modify_mobile", "操盘手修改手机号"),
    OPERATOR_USER_MODIFY_PASSWORD("operator_user_modify_password", "操盘手修改密码"),
    OPERATOR_ADD_BINDING_USER("operator_add_binding_user", "操盘手添加关联公司");



    private String value;

    private String desc;
}
